﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using VisionCloud.Core.Model.Ms;
using VisionCloud.Domain.DtoModel.Ms;

namespace VisionCloud.Domain.Repository.Interface.Ms
{
    public interface IMsTaskMeasureItemTemplateRepository : IBaseRepository<MsTaskMeasureItemTemplate>
    {
        /// <summary>
        /// 获取站点测量项模板Id
        /// </summary>
        /// <param name="taskId"></param>
        /// <param name="id"></param>
        /// <returns></returns>
        Guid GetTaskMeasureItemTemplateId(Guid taskId, string id);

        /// <summary>
        /// 根据任务Id取站点测量项模板
        /// </summary>
        /// <param name="taskId">任务Id</param>
        /// <returns></returns>
        Task<List<MsTaskMeasureItemTemplate>> GetTaskMeasureItemTemplates(Guid taskId);

        /// <summary>
        /// 根据任务Id取站点测量项模板
        /// </summary>
        /// <param name="taskId">任务Id</param>
        /// <returns></returns>
        Task<List<MsMeasureTemplateDto>> GetTaskMeasureTemplateDto(Guid taskId);
    }
}
